<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
   <head>
    	<title>学科管理系统</title>   
		<s:include value="../common/source.jsp"></s:include>	
  </head>
  <body>
<div class="body">
       
          <div class="content ui-sortable">
           <div class="list">
          	获奖数量统计
          	</div>
          	</div>
 <br/>
   <div class="load0">
     <a href="admin/CreateAwardStatisticsFileAction.action" ><input type="button"value="下载Excel" class="sui-btn btn-primary"></a>
 	<br> 
 		</div>
 		 	<br> 
 		  	<hr style="background-color:#cfe1f9;height:1px;"/>
 	<table class="sui-table table-primary table-sideheader">
          <thead>
            <tr>
              <th style="width:167px;">方向名称</th>
              <th style="width:16.8%">国家级数量</th>
              <th style="width:16.8%">省部级数量</th>
            <th style="width:16.8%">厅局级级数量</th>
            <th style="width:16.8%">校级数量</th>
             <th style="width:16.8%">总数量</th></tr>
          </thead>
          <tbody>
          <s:iterator value="counts">
            <tr>
              <td><s:if test="get(0)==0"><a href="admin/CountToSearchAwardAction.action?direction=0">控制理论与控制工程</a></s:if>
              <s:if test="get(0)==1"><a href="admin/CountToSearchAwardAction.action?direction=1">机器人系统与智能装备</a></s:if>
              <s:if test="get(0)==2"><a href="admin/CountToSearchAwardAction.action?direction=2">模式识别与智能系统</a></s:if>
              <s:if test="get(0)==3"><a href="admin/CountToSearchAwardAction.action?direction=3">综合自动化与智能交通</a></s:if>
        
              </td>

              <td><s:property value="get(1)"/></td>
              <td><s:property value="get(2)"/></td>
              <td><s:property value="get(3)"/></td>
              <td><s:property value="get(4)"/></td>
              <td><s:property value="get(1)+get(2)+get(3)+get(4)"/></td>
              
            </tr>
           </s:iterator>
           <!-- 
           <tr>
           <td><a href="admin/CountToSearchAwardAction.action">所有方向</a></td>
           <td><a href="admin/CountToSearchAwardAction.action">所有方向</a></td>
           <td><a href="admin/CountToSearchAwardAction.action">所有方向</a></td>
           <td><a href="admin/CountToSearchAwardAction.action">所有方向</a></td>
           <td><a href="admin/CountToSearchAwardAction.action">所有方向</a></td>
           <td><a href="admin/CountToSearchAwardAction.action">所有方向</a></td>
           
           </tr>
            -->
            
          </tbody>
        </table>
        </div>
        </body>
</html>